Advanced operations
Retrieve log entries
The request must be authenticated by an API key with the logs
ACL.
- Logs are held for the last seven days.
- Up to 1,000 API requests per server are logged.
- This request counts towards your operations quota but doesn’t appear in the logs itself.
GET
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Query Parameters
First log entry to retrieve. The most recent entries are listed first.
Maximum number of entries to retrieve.
Required range:
x <= 1000
Index for which to retrieve log entries. By default, log entries are retrieved for all indices.
Type of log entries to retrieve. By default, all log entries are retrieved.
Available options:
all
, query
, build
, error
Response
200
application/json
OK
The response is of type object
.